package com.syher.seconds.kill.provider.mapper;

import com.syher.seconds.kill.pojo.Stock;
import com.syher.seconds.kill.provider.core.mybatis.BasicMapper;

public interface StockMapper extends BasicMapper<Stock> {
    Integer getCurrentCount() throws Exception;

    int updateStockByOptimistic(Stock stock);
}
